package com.book_management.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author xiangqian
 * @date 2022/12/2 11:45
 * @description:
 */

@TableName("sys_permission")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("权限表")
public class SysPermission implements Serializable {

    @ApiModelProperty("权限id")
    private Integer id;

    @ApiModelProperty("权限名称")
    private String name;

    @ApiModelProperty("资源路径")
    private String path;

    @ApiModelProperty("备注")
    private String comment;

    @ApiModelProperty("图标")
    private String icon;

}
